package com.woniuxy.rediscache.service;

import com.woniuxy.rediscache.entity.Student;

import java.util.List;

/**
 * description: StudentService <br>
 * date: 2022/1/6 12:37 上午 <br>
 * author: shesaifei <br>
 * version: 1.0 <br>
 */

public interface StudentService {
    Student getStudentBySid(int sid);

    List<Student> getStudentsByPage(int pageIndex, int pageSize);

    Student addStudent(Student student);

    Student modifyStudent(Student student);

    void removeStudent(int sid);
}
